/***
 * formSize(String):表单大小 small mini large
 * type(String):表单类型 text | select | date | checkbox | radio
 * inputType(String):input类型
 * label(String):字段名称
 * labelWidth(String):字段宽度 150px
 * placeholder(String):默认显示
 * isReadOnly(Bollean):是否只读
 * isDisabled(Bollean):是否禁止
 * isRequired(Bollean):是否必填
 * optionList(Array):如果是下拉，复选，单选的数据源
 * keyName(String):有数据源的情况下，绑定的key字段名
 * valName(String):有数据源的情况下，绑定的label字段名
 * maxlength(Number):最大输入长度
 * colSpan(Number):占位符
 * isAppendRightBtn(Boolean):是否显示input右侧的按钮类型
 * appendRightBtnType(String):input右侧的按钮类型
 * appendRightBtnTxt(String):input右侧的按钮文字
 * bindFieldName(String):绑定后段字段名称
 * bindFieldVal(String):双向绑定绑定的具体值，一般用于readonly或者disabled的情况下直接赋值
 * buttonTxt(String):type为button时的按钮内容文字
 * influenceFiledName(String):二级联动所关联的select的后段字段->bindFieldName
 */

 const acceptanceFiledList = [{
    type: 'select',
    colSpan: 12,
    label: '项目名称',
    placeholder: '请选择',
    isRequired: true,
    labelWidth: "125px",
    optionList: [],
    keyName: 'primaryKey',
    valName: 'name',
    bindFieldName: 'projectKey',
  },{
    type: 'select',
    colSpan: 12,
    label: '事项类型',
    placeholder: '请选择',
    isRequired: true,
    optionList: [
      {
        key:2,
        value:"运营支出"
      },
      {
        key:4,
        value:"非运营支出"
      }
    ],
    keyName: 'key',
    valName: 'value',
    bindFieldName: 'matterType',
  },{
    type: 'select',
    colSpan: 12,
    label: '事项名称',
    placeholder: '请选择',
    isRequired: true,
    optionList: [],
    keyName: 'chargeItemKey',
    valName: 'chargeItemAliasName',
    bindFieldName: 'matterName'
  },{
    type: 'select',
    colSpan: 12,
    label: '验收结果',
    placeholder: '请选择',
    isRequired: true,
    optionList: [{key:0,name:"不合格"},{key:1,name:"合格"}],
    keyName: 'key',
    valName: 'name',
    bindFieldName: 'acceptanceResult',
  },{
    type: 'text',
    label: '处理方',
    colSpan: 12,
    isReadOnly: false,
    isRequired: true,
    bindFieldName: 'handleParty',
    bindFieldVal: ""
  },{
    type: 'text',
    label: '处理人',
    colSpan: 12,
    isReadOnly: false,
    isRequired: true,
    bindFieldName: 'handlePerson',
    bindFieldVal: ""
  },{
    type: 'text',
    inputType: "number",
    label: '身份证号',
    colSpan: 12,
    isReadOnly: false,
    isRequired: true,
    bindFieldName: 'idNumber',
    bindFieldVal: ""
  },{
    type: 'text',
    inputType: "number",
    label: '联系电话',
    colSpan: 12,
    isReadOnly: false,
    isRequired: true,
    bindFieldName: 'phone',
    bindFieldVal: ""
  },{
    type: 'date',
    label: '处理时间',
    placeholder: '请选择',
    isRequired: true,
    colSpan: 12,
    bindFieldName: 'handleTime',
    bindFieldVal: ""
  },{
    type: 'text',
    label: '验收人',
    colSpan: 12,
    isReadOnly: false,
    isRequired: true,
    bindFieldName: 'acceptancePerson',
    bindFieldVal: ""
  },{
    type: 'date',
    label: '验收时间',
    placeholder: '请选择',
    isRequired: true,
    colSpan: 12,
    bindFieldName: 'acceptanceTime',
    bindFieldVal: ""
  },{
    type: 'text',
    label: '验收说明',
    colSpan: 24,
    isRequired: true,
    bindFieldName: 'acceptanceExplain',
    bindFieldVal: ""
  },{
    type: 'text',
    label: '工作内容',
    colSpan: 24,
    isRequired: true,
    bindFieldName: 'workContent',
    bindFieldVal: ""
  }
]

export {
    acceptanceFiledList
}
